package demo2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86183
 */
public class Test {
    public static void main(String[] args) {
        Dog dog = new Dog();
        dog.name = "柴六斤";
        dog.eat();
        dog.cry();
        dog.running();
        System.out.println("================");
        Durk durk = new Durk();
        durk.name = "小黄";
        durk.eat();
        durk.cry();
        durk.swimming();
    }
}
